import {createRouter,createWebHistory} from "vue-router";
import {ElMessage} from "element-plus";
const routes=[
    {path:'/web',component:()=>import('../components/WebSocket.vue')},
    {path:'/login',name:'login',component:()=>import('../pages/Login.vue')},

]
const router = createRouter({
    history:createWebHistory(),
    routes
})
export  default  router